package com.bdzl.biz.service.impl;

import com.bdzl.biz.dao.OrderArchiveDao;
import com.bdzl.biz.service.OrderArchiveService;
import com.bdzl.pub.entity.loan.OrderArchiveDO;
import com.bdzl.pub.vo.loan.OrderArchiveVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class OrderArchiveServiceImpl implements OrderArchiveService {
	@Autowired
	private OrderArchiveDao orderArchiveDao;

	@Override
	public OrderArchiveDO get(Integer archiveId){
		return orderArchiveDao.get(archiveId);
	}

	@Override
	public List<OrderArchiveDO> list(Map<String, Object> map){
		return orderArchiveDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return orderArchiveDao.count(map);
	}

	@Override
	public int save(OrderArchiveDO orderArchive){
		return orderArchiveDao.save(orderArchive);
	}

	@Override
	public int update(OrderArchiveDO orderArchive){
		return orderArchiveDao.update(orderArchive);
	}

	@Override
	public int remove(Integer archiveId){
		return orderArchiveDao.remove(archiveId);
	}

	@Override
	public int batchRemove(Integer[] archiveIds){
		return orderArchiveDao.batchRemove(archiveIds);
	}

	@Override
	public List<OrderArchiveVO> listAll(Map map) {
		return orderArchiveDao.listAll(map);
	}

	@Override
	public int listAllCount(Map map) {
		return orderArchiveDao.listAllCount(map);
	}
}
